package com.lucker.service.caipiaomisscodelist;

import java.util.List;

import org.springframework.http.ResponseEntity;

import com.lucker.ds.model.CaiPiaoMissCodeList;
import com.lucker.service.BaseService;

public interface CaiPiaoMissCodeListService extends BaseService<CaiPiaoMissCodeList, Long> {
	
	public void initCaiPiaoMissCodeList(Long _caiId);
	
	public ResponseEntity<?> missCodeList(Long _caiId,Long missTypeId);
	
	public ResponseEntity<?> matchingMissCode(Long _caiId,String openCode,String issueNo);
	
	
//	public ResponseEntity<?> readMissCodeToRedis(int pageSize);
	
	/***
	 * 将遗漏号码表中的数据初始化到缓存，这个地方可以考虑用ECACHE缓存,当前是REDIS缓存
	 * @return
	 */
	public void initMissCodeToRedis(Long _caiId);
	
	/***
	 * 将遗漏数据存入系统全局 MAP
	 */
	public void initMissCodeToSystemRam();
	
	
	
	public ResponseEntity<?> testRedis();
	
	
	public void writeRedis(Long cai_id);
	public void readRedis(Long cai_id);
	
	
	
	/***
	 * 测试计算遗漏号码完整流程
	 * @return
	 */
	public ResponseEntity<?> computeOpenCodeMissValue(String _caiId,String opencode,String issueno);
}
